class Student {
  Student({
      this.address,
      this.email,
      this.name,});

  Student.fromJson(dynamic json) {
    address = json['address'] != null ? Address.fromJson(json['address']) : null;
    email = json['email'];
    name = json['name'];
  }
  Address? address;
  String? email;
  String? name;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (address != null) {
      map['address'] = address?.toJson();
    }
    map['email'] = email;
    map['name'] = name;
    return map;
  }

}

class Address {
  Address({
      this.are,});

  Address.fromJson(dynamic json) {
    are = json['are'];
    parent = json['parent'];
  }
  int? are;
  String? parent;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['are'] = are;
    map['parent'] = parent;
    return map;
  }

}